package com.crane.oss.school.bean.request.testcycle;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.Date;


/**
 * @author zhenxing.pi
 * @email ccsu123456@qq.com
 * @date 2022年03月26日 14时24分54秒
 */
@ApiModel(description = "修改参数")

@Getter
@Setter
@ToString

public class UpdateTestCycleReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "", name = "id")
    @NotNull(message = "id不能为空")
    private Long id;

    @ApiModelProperty(value = "", name = "partyId")
    private Long partyId;

    @ApiModelProperty(value = "体测周期id", name = "teacherCycleId")
    private Long teacherCycleId;

    @ApiModelProperty(value = "教学周期名称", name = "cycleName")
    @Size(max = 255, message = "cycleName长度超长")
    private String cycleName;

    @ApiModelProperty(value = "开始时间", name = "cycleStartTime")
    private Date cycleStartTime;

    @ApiModelProperty(value = "结束时间", name = "cycleEndTime")
    private Date cycleEndTime;

    @ApiModelProperty(value = "0 测试周期，1 考 试周期，2国家体测上报周 期，3其他", name = " type")
    private Integer type;

    @ApiModelProperty(value = "", name = "createUserId")
    private Long createUserId;
}
